﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZFSDomain.Interface.Base
{
    /// <summary>
    /// 系统登录接口
    /// </summary>
    public interface ILogin
    {
        /// <summary>
        /// 登录系统
        /// </summary>
        /// <param name="login"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        bool Login(string login, string password);

        /// <summary>
        /// 登出
        /// </summary>
        void LogOut();
    }
}
